package com.junyidao.game.mapper;

import com.junyidao.game.pojo.SysRolePrivRela;
import com.junyidao.game.pojo.SysUser;
import com.junyidao.game.util.MyMapper;
import com.junyidao.game.vo.UserVo;

import java.util.List;
import java.util.Map;

/**
 * SysUserMapper数据库操作接口类
 **/

public interface SysUserMapper extends MyMapper<SysUser> {

    List<SysUser> selectAllBySysUser(SysUser SysUser);

    void activateSysUser(Map<String, Object> map);

    void updatePartByPrimaryKey(SysUser SysUser);

    List<SysUser> selectAllByGroup(UserVo user);

    List<SysUser> selectAllByChannel(UserVo userVo);

    List<SysUser> getSubUser(SysUser user);

}